<template>
  <div>
    <p>{{ aData }}</p>
    <p>{{ commonData }}</p>
    <button @click="aMethods">a方法</button>
    <button @click="CMethods">公共方法</button>
  </div>
</template>

<script>
import mixin from "../mixins/mixin.js";
export default {
  name: "Compa",
  mixins: [mixin],

  data() {
    return {
      aData: "AXX",
    };
  },
  methods: {
    aMethods() {
      console.log("A的方法");
    },
  },
  mounted() {
    console.log("Amounted");
  },
};
</script>

<style>
</style>